<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
    <!--1. 引入bs的css样式库-->
    <link rel="stylesheet" th:href="'/webjars/bootstrap/3.4.1/css/bootstrap.min.css'">
    <!--2. 引入jquery的库-->
    <script th:src="'/webjars/jquery/3.6.0/jquery.min.js'"></script>
    <!--3. 引入bs的js库-->
    <script th:src="'/webjars/bootstrap/3.4.1/js/bootstrap.min.js'"></script>
</head>
<body>

<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">测试WebJars</h3>
        </div>
        <div class="panel-body">
            <h1>[[${name}]],你好！</h1>
        </div>
        <div class="panel-footer text-right">
            百年智2022.
        </div>
    </div>
</div>

</body>
</html>